package com.hnichr.ump.common.schedule;

public interface Constants {
    enum RunResult{
        SUCCESS("00"),EMPTY("01"),FAILED("99");

        private String code;
        RunResult(String code){
            this.code = code;
        }

        public String getCode() {
            return code;
        }
    }

    enum OpenStatus{
        OPEN("1"),CLOSED("0");

        private String code;
        private OpenStatus(String code){
            this.code = code;
        }

        public String getCode() {
            return code;
        }
    }

    enum RunningStatus{
        RUNNING("1"),IDLE("0");

        private String code;
        private RunningStatus(String code){
            this.code = code;
        }

        public String getCode() {
            return code;
        }
    }
}
